gtk-demo: Fix the size saving for CSD
authorMatthias Clasen <mclasen@redhat.com>
Sun, 14 Feb 2016 14:29:55 +0000 (09:29 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 Feb 2016 15:56:26 +0000 (10:56 -0500)
commitfc90bd5e302f0146ee7fa4cdcaf06b6ffef41e7c
tree794e84591a448becc143c9c22fc15a7a1b3cb05c
parent601e762973e9f79e6429f85804a9346d73f41bb8
gtk-demo: Fix the size saving for CSD

We need to use gtk_window_get_size to get the correct size that
we can pass to gtk_window_set_default_size regardless of CSD
or not.
demos/gtk-demo/application.c